include /home/d1023/linux/obj/makefile.include


CURRENT_PATH := $(shell pwd)

# obj-m := 01_key.o
# obj-m += 02_key.o
obj-m += key.o


build: clean kernel_modules

kernel_modules:
	$(MAKE) -C $(KERNELDIR) M=$(CURRENT_PATH) modules
clean:
	$(MAKE) -C $(KERNELDIR) M=$(CURRENT_PATH) clean